class ActiveRecord::Migration::CommandRecorder
  def add_referential_integrity(*args)
    record(:add_referential_integrity, args)
  end
  
  private
  
  def invert_add_referential_integrity(args)
    [:drop_referential_integrity, [args.first, args.last.keys]]
  end
end
